# -*- coding: utf-8 -*-
# @Author   : niejiali
# @Time     : 2019/1/16 8:58
# @File     : __init__.py.py
# @Software : PyCharm
from flask import Blueprint
from app.api.v1 import book, user, client, token


def create_blueprint_v1():
    bp_v1 = Blueprint('v1', __name__)
    user.api.register(bp_v1)
    book.api.register(bp_v1)
    client.api.register(bp_v1)
    token.api.register(bp_v1)
    return bp_v1